/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.rp.entity.rp_house;

import com.thinkgem.jeesite.common.utils.excel.annotation.ExcelField;
import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 房屋管理Entity
 * @author 小牙白白
 * @version 2018-03-29
 */
public class RpHouse extends DataEntity<RpHouse> {
	
	private static final long serialVersionUID = 1L;
	private String houseId;		// 房子ID
	private String houseName;		// 房屋名称
	private String noId;		// 楼号ID
	private String noName;		// 楼号名称
	
	public RpHouse() {
		super();
	}

	public RpHouse(String id){
		super(id);
	}

	@Length(min=0, max=64, message="房子ID长度必须介于 0 和 64 之间")
	@ExcelField(title="房子ID", align=2, sort=40)
	public String getHouseId() {
		return houseId;
	}
	public void setHouseId(String houseId) {
		this.houseId = houseId;
	}

	
	@Length(min=0, max=100, message="名称长度必须介于 0 和 100 之间")
	@ExcelField(title="房屋名称", align=2, sort=40)
	public String getHouseName() {
		return houseName;
	}
	public void setHouseName(String houseName) {
		this.houseName = houseName;
	}

	
	@Length(min=0, max=100, message="楼号ID长度必须介于 0 和 100 之间")
	@ExcelField(title="楼号ID", align=2, sort=40)
	public String getNoId() {
		return noId;
	}
	public void setNoId(String noId) {
		this.noId = noId;
	}

	
	@Length(min=0, max=100, message="楼号名称长度必须介于 0 和 100 之间")
	@ExcelField(title="楼号名称", align=2, sort=40)
	public String getNoName() {
		return noName;
	}
	public void setNoName(String noName) {
		this.noName = noName;
	}





	
}